package org.apogeescience.log;

import java.util.Hashtable;

public class LogFactory {
	
	private static Hashtable<String, Logger> logCollection = new Hashtable<String, Logger>();

	public static Logger getLogger(Class<?> clazz) {
		if (!logCollection.containsKey(clazz.getName())) {
			logCollection.put(clazz.getName(), new Logger());
		}
		return logCollection.get(clazz.getName());
	}

}
